<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> *** write *** </title>

<script type="text/javascript">
	function doSubmit() {
		board.submit();
		alert('2');
	}
</script>

</head>

<body>
	<form name="board" action="insertLookd.do" method="post">
		<table border="1" width="200px">
			<tr>
				<td>아이디</td>
				<td>
					<input type="text" size="20" name="id"	>
				</td>
			</tr>
			<tr>
			  <td>이름</td>
				<td>
					<input type="text" size="20" name="name"	>
				</td>
			</tr>
			<tr>
			  <td>전화번호</td>
				<td>
					<input type="text" size="20" name="telnumber"	>
				</td>
			</tr>
			<tr>
			  <td>코멘트</td>
				<td>
					<input type="text" size="20" name="comment"	>
				</td>
			</tr>
			<tr>
			  <td>닉네임</td>
				<td>
					<input type="text" size="20" name="nickname"	>
				</td>
			</tr>
		</table>
		<input type="button" value="전송" onclick="doSubmit();">
	</form>
</body>
</html>